import React from 'react'
import {useLocation} from 'react-router-dom'

export default function Breadcrumb() {
  const {state:{firstCategory,secondCategory}}=useLocation()
  return (
    <div>首页/{firstCategory}/{secondCategory}</div>
  )
}
